package scheduledtasks;



import org.springframework.stereotype.Service;
import scheduledtasks.entity.TaskObj;
import scheduledtasks.parscorn.ParsUntil;

/**
 * 【解析实现]
 *
 * @author tiny
 * @version 1.0
 * @company bc
 * @copyright (c) 2022 bcInc. All rights reserved.
 * @date 2022-11-08 16:00:26
 * @since
 */

@Service
public class ParseImpl implements ParseCorn {
    @Override
    public boolean parse(TaskObj taskObj) {
      return ParsUntil.getp().pars(taskObj.getCron(),taskObj);
    }
}
